/**
 * Created by kevin on 17/8/10.
 */
var shell = require('shelljs')

// if (!shell.which('git')) {
//     shell.echo('Sorry, this script requires git');
//     shell.exit(1);
// }else {
//     shell.echo('here is git')
//     shell.exec('sdfsfs', function(code, stdout, stderr) {
//         console.log('Exit code:', code);
//         console.log('Program output:', stdout);
//         console.log('Program stderr:', stderr);
//     })
// }

shell.exec('docker --version', function(code, stdout, stderr) {
    console.log('Exit code:', code);
    console.log('Program output:', stdout);
    console.log('Program stderr:', stderr);
});